[XEN] NUMA-ify Xen heap and page allocator
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 25 Oct 2006 11:28:46 +0000 (12:28 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 25 Oct 2006 11:28:46 +0000 (12:28 +0100)
commitf0738d2d3f816f570cc27b765a8fa606bb772cc9
tree527f4dfcc672b2033f9c1615963b551b0d797906
parent582724b0ea12d27f3a18c8c3c15cccf7d655dae6
[XEN] NUMA-ify Xen heap and page allocator

This patch adds a per-node bucket to the heap structure in Xen.
During heap initialization the patch determines which bucket to place
the memory. We reserve guard pages between node boundaries in the case
that said boundary isn't already guarded by the MAX_ORDER boundary to
prevent the buddy allocator from merging pages between nodes.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
xen/common/page_alloc.c
xen/include/xen/mm.h